<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/meeting.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 会议室预约详细信息 <font color=green><a href="__ACTION__">【刷新】</a></font></h1>
     </div>
     <div class="module_public_main"> 
       <table>
         <tr>
           <td align="center">预约人</td>
           <td align="center">会议室预约号码<font color=red>(会议安排时选择您预约的会议室号码即可)</font></td>
           <td align="center">预约使用时间段</td>
           <td align="center">预约状态</td>
         </tr>
         <?php if(is_array($y_info)): $i = 0; $__LIST__ = $y_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><tr>
           <td align="center"><?php echo ($v["y_uname"]); ?></td>
           <td align="center"><?php echo ($v["y_id"]); ?></td>
           <td align="center">会议室使用时间段：&nbsp;<font color=green>(<?php echo (date("Y年m月d日 H:m",$v["y_yuyue_starttime"])); ?>)</font>&nbsp;&nbsp;——&nbsp;<font color=green>(<?php echo (date("Y年m月d日 H:m",$v["y_yuyue_endtime"])); ?>)</font></td>
           <?php if($v['y_yuyue_endtime'] < time()){ echo "<td align='center'><font color=red>已过期</font></td>"; }else{ echo "<td align='center'><font color=green>未过期</font></td>"; } ?>
         </tr><?php endforeach; endif; else: echo "" ;endif; ?>
       </table>
     </div>
  </div>
</body>
</html>